import React from "react";
import "./index.less";

function index({ couponList }) {
    const couponItem = couponList.map((item, index) => {
        return (
            <div key={index} style={{ width: "93px" }}>
                <img src={item.pictureURL} alt="" />
            </div>
        );
    });

    return <div className="coupon-container">{couponItem}</div>;
}

export default index;
